<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>首页</title>
<link rel="stylesheet" href="Css/Homecss.css" type="text/css"></link>
</head>
<body>
	<div>
		<p id="top"><a>工作台 > 首页</a></p>
		<div class="show">
			<div id="money">
				<table id="show1">
					<tr>
						<td colspan="3">个人业务</td>
					</tr>
					
					<tr>
						<td>待审批</td>
						<td>待报销</td>	
						<td>待还款</td>					
					</tr>
					
					<tr>
						<td>12</td>
						<td>10000$</td>	
						<td>1000$</td>
					</tr>
				</table>
			</div>
			
			<div id="me">
				<img src="img/head-man.png">
				<h2>晚上好，邹宇文</h2>
				<button onclick="tome()"><span>个人中心</span></button><br/>
			</div>
		</div>
		
		<div class="choice">
			<button value="../D-Business/BusinessApplication.jsp" onclick="topage(this)">
			<img src="img/businessapply.png">
			<p>出差申请</p>
			</button>
			<button value="../E-Reimbursement/ReimburseApplication.jsp" onclick="topage(this)">
			<img src="img/reimburseapply.png">
			<p>报销申请</p>
			</button>
			<button value="../F-Loan/LoanApplication.jsp" onclick="topage(this)">
			<img src="img/loanapply.png">
			<p>借款申请</p>
			</button>
			<button value="../F-Loan/Repayment.jsp" onclick="topage(this)">
			<img src="img/repayment.png">
			<p>还款</p>
			</button>
		</div>
		
	</div>

	<script>
		function topage(a){
			window.location.href = a.value;
		}
		
		function tome(){
			window.location.href = "../H-User/Message.jsp";
		}
	</script>

</body>
</html>